package com.rxmvp.basemvp;


import com.loper7.base.utils.UIHelper;
import com.rxmvp.http.exception.ApiException;

public interface BaseView {

    //显示加载框
    void showLoading();

    //隐藏加载框
    void hideLoading();

    //显示消息提示（toast/snackbar)
    void showMessage(String message);
    void showSuccessMessage(String message);
    void showErrorMessage(String message);
    void showWarningMessage(String message);

    //异常回馈
    void requestException(ApiException e);
}
